class student:
    def __init__(self,name):
        self.name=name
    def __str__(self):
        return f'我是{self.name}'

student1=student('张三')
print(student1)